ALGOS algorithm of case management